package model

type GitlabRepo struct {
	BaseModel
	ProjectName       string `json:"project_name" gorm:"type:varchar(128);column:project_name"`             // 项目名称
	ProjectId         int    `json:"project_id" gorm:"type:int;column:project_id"`                          // 项目id
	ProjectHttpUrl    string `json:"project_http_url" gorm:"type:varchar(256);column:project_http_url"`     // 项目http地址
	ProjectSshUrl     string `json:"project_ssh_url" gorm:"type:varchar(256);column:project_ssh_url"`       // 项目ssh地址
	NameSpace         string `json:"name_space" gorm:"type:varchar(128);column:name_space"`                 // 命名空间
	JenkinsCredential string `json:"jenkins_credential" gorm:"type:varchar(256);column:jenkins_credential"` // jenkins凭证
	UserName          string `json:"user_name" gorm:"type:varchar(128);column:user_name"`                   // 用户名
	Password          string `json:"password" gorm:"type:varchar(128);column:password"`                     // 密码
}
